package com.example.dell.ssm.app;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by dell on 2017/6/2.
 */

public interface Api {
    @GET("login/")
    Call<String> login(@Query("name") String name, @Query("password") String password);

    @GET("register/")
    Call<String> register(@Query("name") String name, @Query("password") String password);
}
